package com.itheima.goods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
/**
 * category实体类
 * @author itheima
 *
 */
@TableName("tb_category")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Category implements Serializable{

	@TableId(type = IdType.AUTO)
	private Integer id;//分类ID



	private String name;//分类名称

	private String isShow;//是否显示

	private String isMenu;//是否导航

	private Integer seq;//排序

	private Integer parentId;//上级ID


}
